package thesis.filesharing.bo;

import java.util.List;

import thesis.filesharing.model.Subject;

public interface SubjectBO {
	
	public List<Subject> listSubjects(int page, int pageSize);
	public int countSubjects();
	public Subject findSubjectByKey(String key);
	public Subject findSubjectById(String subjectId);
	public Subject saveSubject(Subject subject);
	public void deleteSubject(String key);
	public Subject updateSubject(Subject subject);
	public boolean checkUpdatedSubjectExisted(String key, String subjectId);
}
